package com.fancy.dao;

import entity.Dept;

import java.util.List;

/**
 * Created by Jackie on 2017/10/17.
 */
public interface DeptDao {

    Dept findDept(int dept_id);

    List<Dept> findDepts();

    boolean insertDept(Dept dept);

    boolean removeDept(int dept_id);

    boolean updateDept(int dept_id, Dept newDept);

}
